package com.xuln.member.service.impl;

import javax.annotation.Resource;

import com.xuln.framework.service.BaseService;
import com.xuln.member.dao.IMemberDao;
import com.xuln.member.entity.Member;
import com.xuln.member.service.IMemberService;

public class MemberServiceImpl extends BaseService implements IMemberService {
	@Resource
	IMemberDao memberDao;

	public void addMember(Member member) {
		memberDao.save(member);
	}

	public Member getMember(String username, String password) {
		return memberDao.getMember(username, password);
	}

}
